home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3v2cubz.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.5 KB  |  61 lines

  1.  
  2. // JavaScript wrapper for r3v2cubz.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_VOCUBZ2D_H = 1;
  7. include("real/raytr/r3frobj.js")
  8. include("oops/r3vector.js")
  9.  
  10.  
  11. var R3CLID_VOL2DCUBICBEZIER = 718;
  12.  
  13.  
  14.  
  15.  
  16. R3V2CBZA_Count = 718501;
  17. function SetR3V2CBZA_Count(value) {
  18.   R3Set(this.r3obj, R3V2CBZA_Count, value, R3TID_INTEGER, 0); 
  19. }
  20.  
  21. function GetR3V2CBZA_Count() {
  22.   return R3Get(this.r3obj, R3V2CBZA_Count, R3TID_INTEGER, 0); 
  23. }
  24.  
  25. R3V2CBZA_Subdiv = 718502;
  26. function SetR3V2CBZA_Subdiv(value) {
  27.   R3Set(this.r3obj, R3V2CBZA_Subdiv, value, R3TID_INTEGER, 0); 
  28. }
  29.  
  30. function GetR3V2CBZA_Subdiv() {
  31.   return R3Get(this.r3obj, R3V2CBZA_Subdiv, R3TID_INTEGER, 0); 
  32. }
  33.  
  34. R3V2CBZA_OptimizeForUnitSqua = 718503;
  35. function SetR3V2CBZA_OptimizeForUnitSqua(value) {
  36.   R3Set(this.r3obj, R3V2CBZA_OptimizeForUnitSqua, value, R3TID_BOOLEAN, 0); 
  37. }
  38.  
  39. R3V2CBZA_Closed = 718504;
  40. function SetR3V2CBZA_Closed(value) {
  41.   R3Set(this.r3obj, R3V2CBZA_Closed, value, R3TID_BOOLEAN, 0); 
  42. }
  43.  
  44.  
  45.  
  46. function r3Vol2dcubicbezier () { 
  47.    this.base = r3God;
  48.    if(arguments.length) {
  49.       this.base(R3CLID_VOL2DCUBICBEZIER, arguments);
  50.    }
  51.    // Attributes
  52.    this.GetCount=GetR3V2CBZA_Count;
  53.    this.SetCount=SetR3V2CBZA_Count;
  54.    this.GetSubdiv=GetR3V2CBZA_Subdiv;
  55.    this.SetSubdiv=SetR3V2CBZA_Subdiv;
  56.    this.SetOptimizeForUnitSqua=SetR3V2CBZA_OptimizeForUnitSqua;
  57.    this.SetClosed=SetR3V2CBZA_Closed;
  58. }
  59.  
  60. r3Vol2dcubicbezier.prototype=new r3Frobject;
  61. // r3v2cubz.h_H